FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-monitor

WORKDIR /sc-monitor

EXPOSE 5001

ADD ./sc-module/sc-monitor/target/sc-monitor.jar ./

CMD sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar sc-monitor.jar
